/**
 * 
 */
package com.yunyike.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author zhengqiang.shi
 * 2016年4月22日 下午9:37:07
 */
public class OrderVO {

	@NotBlank
	private String addressId;	// 收货地址id
	
	@NotNull
	@Size(min=1)
	private String [] merchandiseId;	// 购买商品id数组
	
	private String couponId;	// 优惠券id

	/**
	 * @return the addressId
	 */
	public String getAddressId() {
		return addressId;
	}

	/**
	 * @param addressId the addressId to set
	 */
	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}

	/**
	 * @return the merchandiseId
	 */
	public String[] getMerchandiseId() {
		return merchandiseId;
	}

	/**
	 * @param merchandiseId the merchandiseId to set
	 */
	public void setMerchandiseId(String[] merchandiseId) {
		this.merchandiseId = merchandiseId;
	}

	/**
	 * @return the couponsId
	 */
	public String getCouponId() {
		return couponId;
	}

	/**
	 * @param couponsId the couponsId to set
	 */
	public void setCouponsId(String couponId) {
		this.couponId = couponId;
	}
	
	
}
